home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
wildcat
/
lfils101.zip
/
LSTFILES.DOC
< prev
next >
Wrap
Text File
|
1992-04-15
|
5KB
|
120 lines
ListFiles
By
Rob Green
This program is NOT free. It is being distributed in SHAREWARE.
What this means is that you are granted a limited license to use
this program, and after 60 days, you are expected to register by
sending $15 dollars to:
Rob Green
836 Gaslight Circle
Winter Park, FL 32792
What it does:
ListFiles reads the drives and/or directories as selected by the
user and generates an ASCII text file under a user specified
filename. The intended use of this text file is the automated
generation of the BADFILES.LST as used by WildCat! 3.XX.
Why do it:
Under WildCat!'s normal operation, if you have a particular file
already on your system and a caller tries to upload a file with
the same name, WildCat! will allow the caller to upload that file,
but then prompts them AFTER the file transfer to rename their
uploaded file or delete it. This has made more than a few callers
mad and they will normally rename the file leaving the Sysop with
two identical files with different names. This is not acceptible
to the Sysop nor is it fair to the caller, hence the creation of
ListFiles. WildCat! scans the system BADFILES.LST prior to every
file upload. Using ListFiles the Sysop can now easily generate a
compatible BADFILES.LST and by using the optional command line
switches the file lists generated can be tuned to most Sysops needs.
ListFiles can be run from a nightly event batch file making it
a natural for "set & forget" maintenance.
Instructions:
To get a listing of all files in the current directory
execute the command:
LSTFILES Filename
where filename is the file you want created to hold all the
names in your directory.
The following is a listing of optional command line parameters and
they're proper syntax:
LSTFILES filename [/iDDDDD] [/d directory] [/ds directory]
/iDDDDD - Reads the files on selected drives.
EX: /iABCDXYZ will include all files in all
directories of drives A: B: C: D: X: Y: Z:
/d directory - ONLY filenames in selected directory. EX: /d \DOS
/ds directory - ONLY filenames for selected directory and all of
its Sub-Directories. EX: /ds \DOS
Here Are Some Helpfull Examples:
LSTFILES lstfiles.lst
Lists all files in current directory, and Sub-directory, and
puts them in LSTFILES.LST
LSTFILES lstfiles.lst /iCD
Lists all files on drive C: and D:
LSTFILES lstfiles.lst /iC /d \DOS
Lists only files on drive C: in directory \DOS
LSTFILES lstfiles.lst /iD /ds \Wilcat!
Lists all files in drive D:'s \Wildcat! directory and
all of the sub-directories under \Wildcat!
LSTFILES lstfiles.lst /d \utils
Lists all files in the current drive's \Utils directory only
LSTFILES lstfiles.lst /ds \utils
Lists all files in the \Utils directory of the current drive
plus all files in its sub-directories.
NOTE: See the example batch file supplied for further enlightenment
Registering only costs $15 dollars, so if you continue to use this
program, PLEASE Register. Registration is the best inspiration to
keep updating this software and writing more utilities for you.
Thanks,
Rob Green.
Much appreciation to Kevin Hoffman Sysop of The MoonRose HQ BBS
(407) 568-8774, Fidonet 1:363/153, for his ideas, support, and
BETA testing this and other fine G.P.C. Software.
Thanks Kevin,
Rob